package com.tedu.springmvc2.mapper;


import com.tedu.springmvc2.pojo.entity.User;
import com.tedu.springmvc2.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {

    int insert(User user);
    int update(User user);
    int delete(Integer id);
    List<UserVO> findAll();
    User selectById(Integer id);
}
